#include "Vector.h"

void test1()
{
    my_vector::vector<int> v;
    v.push_back(0);
    v.push_back(1);
    v.push_back(2);
    v.push_back(3);
    v.push_back(4);
    v.push_back(5);
    v.push_back(6);
    v.print();

    my_vector::vector<int>::iterator it = v.begin();
    while (it != v.end())
    {
        cout << *it << ' ';
        it ++ ;
    }
    cout << endl;
}

void testvector()
{
    my_vector::test1();
    cout << endl;
    my_vector::test2();
    cout << endl;
    my_vector::test3();
    cout << endl;
}

int main()
{


    //test1();
    
    testvector();

    return 0;
}
